package com.dy.nygl.service;

import java.text.ParseException;
import java.util.Date;
import java.util.List;

import com.dy.nygl.pojo.Machine;

public interface MachineService {
	
	public List<String> hcYear();
	
	public List<String> hcMonth();
	
	public List<String> hcDay();
	
	public List<Double> randomTime(String startTime,String endTime);
	
	public List<Double> costAndMachineTask(String taskName) throws ParseException;
	
	public List<Double> costAndMachineTime(String time) throws ParseException;
	
	public List<Double> costPriceByEnerty(List<String> machine, Double code);
	
	public List<Double> selectMachine(String media,String time) throws ParseException;

	public List<Double> selectTaskName(String taskName) throws ParseException;

	public Double timeAdd(List<Double> data);
	
	public List<Double> MachineTask(String taskName) throws ParseException;
	
	public List<Double> monthByOneTime(String startTime) throws ParseException;
	
	public List<Double> monthBySetTime(String startTime,String endTime) throws ParseException;
	
	public List<Double> day(String object,String time) throws ParseException;
	
	public List<Double> month(String object,String time) throws ParseException;
	
	public List<Double> year(String object,String time) throws ParseException;

	public List<Date> timeSectionDay(String time) throws ParseException;
	
	public List<Date> timeSecrionMouth(String time) throws ParseException;
	
	public List<Date> timeSecrionYear(String time) throws ParseException;
	
	public void addMachineData(Machine machine);

	public List<Double> selectAllDataByEnergySer(String time) throws ParseException;
}